package com.wn55.hrms.service;

import com.wn55.hrms.entity.Employee;
import com.wn55.hrms.mapper.EmployeeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ManagerService {

    @Autowired
    EmployeeMapper managerMapper;

    public Employee login(String name){
        return managerMapper.selectManagerByName(name);
    }

}
